﻿<UserControl x:Class="Test.Silverlight.DataGrid.ColumnTypes"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:grid="clr-namespace:DevExpress.AgDataGrid;assembly=DevExpress.AgDataGrid.v8.2"
    xmlns:local="clr-namespace:Test.Silverlight.DataGrid;assembly=Test.Silverlight.DataGrid"
    xmlns:gridcore="clr-namespace:DevExpress.AgDataGrid;assembly=DevExpress.AgDataGrid.v8.2">

    <UserControl.Resources>
        <DataTemplate x:Key="MoneyTemplate">
            <Grid>
                <Path Stretch="Fill" Fill="#FF231F20" Data="F1 M 622.844,548.317C 622.834,548.418 622.83,548.469 622.82,548.57C 594.921,
                  548.972 568.582,559.127 541.427,564.252C 534.944,555.058 528.754,545.68 522.844,536.108C 522.867,535.925 522.879,
                  535.834 522.902,535.652C 546.331,537.26 569.346,532.326 592.553,530.033C 602.895,535.737 613.062,541.689 622.844,
                  548.317 Z " Height="34.219" HorizontalAlignment="Stretch" Margin="0,8.14500045776367,0,0" VerticalAlignment="Stretch" />
                <Path Stretch="Fill" Fill="#FFABD47D" Data="F1 M 622.675,548.247C 594.895,548.663 568.66,558.738 541.62,563.844C 535.135,
                  554.66 528.95,545.286 523.037,535.723C 546.504,537.155 569.52,532.054 592.745,529.656C 602.961,535.482 613.007,
                  541.544 622.675,548.247 Z " Height="34.188" HorizontalAlignment="Stretch" Margin="0.193000003695488,7.76800012588501,0.168999999761581,0.407999992370605" VerticalAlignment="Stretch" Width="99.638" />
                <Path Stretch="Fill" Fill="#FF231F20" Data="F1 M 622.844,546C 622.834,546.101 622.83,546.152 622.82,546.253C 594.921,
                  546.655 568.582,556.81 541.427,561.935C 534.944,552.741 528.754,543.363 522.844,533.791C 522.867,533.608 522.879,
                  533.517 522.902,533.335C 546.331,534.943 569.346,530.009 592.553,527.716C 602.895,533.42 613.062,539.372 622.844,
                  546 Z " Height="34.22" HorizontalAlignment="Stretch" Margin="0,5.82800006866455,0,2.31599998474121" VerticalAlignment="Stretch" />
                <Path Stretch="Fill" Fill="#FFABD47D" Data="F1 M 622.675,545.93C 594.895,546.346 568.66,556.421 541.62,561.527C 535.135,
                  552.343 528.95,542.969 523.037,533.406C 546.504,534.838 569.52,529.737 592.745,527.339C 602.961,533.165 613.007,
                  539.227 622.675,545.93 Z " Height="34.188" HorizontalAlignment="Stretch" Margin="0.193000003695488,5.45100021362305,
                  0.168999999761581,2.72499990463257" VerticalAlignment="Stretch" Width="99.638" />
                <Path Stretch="Fill" Fill="#FF231F20" Data="F1 M 622.844,543.104C 622.834,543.204 622.83,543.255 622.82,543.357C 594.921,
                  543.758 568.582,553.913 541.427,559.039C 534.944,549.845 528.754,540.467 522.844,530.894C 522.867,530.712 522.879,
                  530.621 522.902,530.438C 546.331,532.046 569.346,527.113 592.553,524.819C 602.895,530.523 613.062,536.476 622.844,
                  543.104 Z " Height="34.219" HorizontalAlignment="Stretch" Margin="0,2.93099999427795,0,5.21400022506714" VerticalAlignment="Stretch" />
                <Path Stretch="Fill" Fill="#FFABD47D" Data="F1 M 622.675,543.034C 594.895,543.45 568.66,553.525 541.62,558.631C 535.135,
                  549.446 528.95,540.072 523.037,530.51C 546.504,531.941 569.52,526.84 592.745,524.443C 602.961,530.269 613.007,
                  536.331 622.675,543.034 Z " Height="34.188" HorizontalAlignment="Stretch" Margin="0.193000003695488,2.5550000667572,
                  0.168999999761581,5.62099981307983" VerticalAlignment="Stretch" Width="99.638" />
                <Path Stretch="Fill" Fill="#FF231F20" Data="F1 M 622.844,540.593C 622.834,540.694 622.83,540.745 622.82,540.846C 594.921,
                  541.248 568.582,551.403 541.427,556.529C 534.944,547.334 528.754,537.956 522.844,528.384C 522.867,528.202 522.879,
                  528.111 522.902,527.928C 546.331,529.536 569.346,524.602 592.553,522.309C 602.895,528.013 613.062,533.966 622.844,
                  540.593 Z " Height="34.219" HorizontalAlignment="Stretch" Margin="0,0.421000003814697,0,7.72399997711182" VerticalAlignment="Stretch" />
                <Path Stretch="Fill" Fill="#FFABD47D" Data="F1 M 622.675,540.524C 594.895,540.94 568.66,551.015 541.62,556.121C 535.135,
                  546.936 528.95,537.562 523.037,528C 546.504,529.431 569.52,524.33 592.745,521.933C 602.961,527.759 613.007,
                  533.821 622.675,540.524 Z " Height="34.188" HorizontalAlignment="Stretch" Margin="0.193000003695488,
                  0.0450000017881393,0.168999999761581,8.13099956512451" VerticalAlignment="Stretch" Width="99.638" />
                <Path Stretch="Fill" Fill="#FF231F20" Data="F1 M 593.575,533.135C 594.986,532.922 594.893,531.997 593.411,
                  531.077C 591.961,530.177 589.698,529.623 588.318,529.83C 586.926,530.04 586.915,530.94 588.334,531.846C 589.91,
                  532.778 591.741,533.282 593.575,533.135 Z M 587.93,529.587C 589.95,529.383 592.065,529.997 593.795,531.023C 595.511,
                  532.086 595.627,533.156 593.997,533.402C 591.912,533.608 589.715,532.986 587.936,531.909C 586.305,530.865 586.326,
                  529.828 587.93,529.587 Z M 594.849,533.942C 596.917,533.63 596.748,532.268 594.56,530.917C 592.375,529.625 589.712,
                  528.85 587.163,529.107C 585.134,529.41 585.086,530.718 587.138,532.039C 589.363,533.41 592.227,534.236 594.849,
                  533.942 Z M 549.913,535.871C 552.034,535.648 554.329,536.271 555.949,537.685C 557.34,539.012 556.829,540.413 554.747,
                  540.784C 552.537,541.107 550.112,540.435 548.505,538.851C 547.229,537.464 547.884,536.148 549.913,535.871 Z M 555.431,
                  541.466C 557.584,541.26 558.864,539.055 556.916,537.52C 554.907,535.751 551.943,534.955 549.305,535.243C 547.262,
                  535.337 545.705,537.313 547.487,538.995C 549.469,541.035 552.657,541.912 555.431,541.466 Z M 554.408,540.446C 556.209,
                  540.13 556.661,538.92 555.462,537.766C 554.008,536.539 552.104,536.007 550.22,536.189C 548.458,536.434 547.899,
                  537.58 549.011,538.778C 550.405,540.139 552.498,540.72 554.408,540.446 Z M 622.506,540.454C 594.805,540.908 568.641,
                  550.92 541.671,556.007C 535.221,546.879 529.059,537.57 523.171,528.069C 546.594,529.469 569.567,524.375 592.749,
                  521.976C 602.902,527.772 612.89,533.796 622.506,540.454 Z M 522.902,527.928C 528.837,537.556 535.054,546.988 541.568,
                  556.234C 568.679,551.104 594.986,540.977 622.743,540.524C 613.055,533.8 602.981,527.73 592.742,521.888C 569.473,
                  524.289 546.412,529.395 522.902,527.928 Z M 542.78,553.583C 537.018,545.734 531.479,537.739 526.155,529.586C 548.616,
                  530.238 570.603,525.366 592.827,522.96C 601.656,528.048 610.366,533.304 618.821,538.995C 592.845,540.064 568.171,
                  548.897 542.78,553.583 Z M 619.529,539.182C 610.848,533.31 601.89,527.912 592.806,522.689C 570.319,525.096 548.063,
                  530.024 525.336,529.18C 530.819,537.693 536.528,546.042 542.482,554.232C 568.302,549.446 593.378,540.288 619.82,
                  539.38C 619.704,539.301 619.646,539.261 619.529,539.182 Z M 534.064,534.955C 534.14,535.06 534.169,535.143 534.15,
                  535.206C 534.132,535.269 534.076,535.316 533.984,535.345C 533.91,535.369 533.759,535.397 533.532,535.427C 533.304,
                  535.457 533.136,535.476 533.029,535.485C 533.111,535.602 533.153,535.659 533.235,535.776C 535.053,535.703 535.961,
                  535.651 537.779,535.525C 537.692,535.414 537.649,535.36 537.562,535.248C 537.453,535.25 537.279,535.246 537.039,
                  535.235C 536.799,535.225 536.62,535.208 536.503,535.184C 536.372,535.156 536.253,535.111 536.148,535.05C 536.042,
                  534.988 535.956,534.913 535.889,534.825C 535.251,533.983 534.932,533.558 534.294,532.706C 534.172,532.542 534.039,
                  532.357 533.897,532.151C 533.755,531.947 533.633,531.768 533.53,531.616C 533.155,531.625 532.968,531.629 532.593,
                  531.635C 532.576,531.691 532.544,531.755 532.498,531.828C 532.451,531.901 532.376,531.972 532.27,532.042C 532.166,
                  532.109 532.016,532.166 531.821,532.215C 531.625,532.265 531.37,532.292 531.056,532.294C 530.937,532.296 530.877,
                  532.296 530.758,532.297C 530.855,532.436 530.904,532.506 531.001,532.645C 531.55,532.639 531.824,532.634 532.373,
                  532.623C 533.05,533.562 533.388,534.029 534.064,534.955 Z M 530.016,531.529C 530.255,530.957 530.857,530.641 531.735,
                  530.635C 532.61,530.628 533.656,530.927 534.698,531.457C 535.742,531.989 536.757,532.754 537.451,533.635C 538.158,
                  534.531 538.394,535.371 538.211,536C 538.023,536.64 537.43,537.045 536.51,537.108C 535.586,537.171 534.464,536.876 533.356,
                  536.286C 532.263,535.704 531.235,534.844 530.578,533.886C 529.931,532.946 529.775,532.108 530.016,531.529 Z M 558.315,
                  529.369C 558.018,529.73 557.806,530.127 557.683,530.555C 557.046,533.051 559.071,535.477 560.823,536.971C 564.104,
                  539.829 568.092,541.423 572.204,542.667C 573.422,542.995 574.653,543.255 575.875,543.449C 566.988,545.509 558.117,
                  547.63 549.166,549.4C 549.023,548.786 548.674,548.128 548.114,547.466C 547.28,546.486 546.133,545.667 544.907,
                  545.111C 543.698,544.561 542.357,544.256 541.228,544.402C 540.745,544.464 540.349,544.604 540.038,544.802C 538.213,
                  542.378 536.411,539.937 534.634,537.478C 535.452,537.725 536.273,537.842 537.021,537.786C 538.319,537.689 539.079,
                  537.106 539.291,536.326C 539.5,535.557 539.203,534.59 538.389,533.576C 537.768,532.805 536.93,532.11 535.996,531.538C 543.477,
                  531.171 550.895,530.372 558.315,529.369 Z M 573.369,528.645C 576.814,529.519 580.177,530.878 583.152,532.837C 585.148,
                  534.348 587.473,535.953 587.923,538.621C 588.082,541.003 585.743,542.202 583.715,542.59C 579.924,543.373 576.169,
                  542.745 572.455,541.9C 568.718,540.902 565.019,539.278 562.058,536.748C 560.509,535.175 558.554,533.357 559.08,
                  530.888C 559.701,528.888 562.019,528.075 563.898,527.859C 567.123,527.437 570.224,527.975 573.369,528.645 Z M 588.827,
                  524.918C 589.151,525.357 589.759,525.863 590.637,526.389C 591.789,527.08 593.189,527.677 594.549,528.095C 595.915,
                  528.514 597.26,528.75 598.158,528.65C 598.782,528.581 599.082,528.36 599.109,528.046C 601.959,529.753 604.794,
                  531.482 607.614,533.239C 607.015,533.103 606.479,533.042 606.068,533.08C 605.31,533.15 605.146,533.534 605.44,
                  534.054C 605.737,534.583 606.496,535.266 607.648,536.004C 608.423,536.501 609.284,536.963 610.153,537.366C 603.154,
                  538.044 596.247,539.156 589.348,540.508C 589.534,540.026 589.596,539.511 589.526,538.969C 589.046,536.088 586.408,
                  534.242 584.227,532.651C 580.829,530.607 577.383,529.198 573.571,528.114C 572.638,527.878 571.704,527.68 570.78,
                  527.521C 576.788,526.598 582.798,525.692 588.827,524.918 Z M 589.558,524.727C 589.392,524.311 589.628,524.038 590.245,
                  523.966C 590.861,523.894 591.782,524.031 592.842,524.345C 593.904,524.66 595.086,525.156 596.102,525.752C 597.135,
                  526.357 597.79,526.942 598.014,527.384C 598.242,527.834 598.036,528.126 597.402,528.197C 596.766,528.268 595.787,
                  528.108 594.66,527.764C 593.546,527.424 592.328,526.908 591.317,526.303C 590.32,525.709 589.726,525.148 589.558,
                  524.727 Z M 614.194,537.337C 614.478,537.788 614.364,538.052 613.862,538.085C 613.359,538.118 612.525,537.915 611.507,
                  537.524C 610.5,537.136 609.356,536.573 608.363,535.936C 607.383,535.308 606.754,534.734 606.517,534.319C 606.284,
                  533.907 606.424,533.656 606.917,533.612C 607.407,533.568 608.198,533.734 609.163,534.089C 610.127,534.444 611.239,
                  534.989 612.231,535.63C 613.236,536.279 613.914,536.893 614.194,537.337 Z M 547.968,549.996C 547.867,550.66 547.397,
                  551.109 546.627,551.255C 545.853,551.401 544.872,551.221 543.853,550.742C 542.848,550.268 541.861,549.508 541.187,
                  548.602C 540.521,547.712 540.297,546.869 540.442,546.251C 540.588,545.637 541.069,545.254 541.81,545.153C 542.547,
                  545.053 543.47,545.242 544.432,545.681C 545.394,546.12 546.365,546.812 547.065,547.652C 547.777,548.506 548.065,549.344 547.968,
                  549.996 Z M 542.881,553.316C 568.109,548.687 592.62,539.959 618.415,538.836C 610.094,533.25 601.528,528.082 592.849,
                  523.074C 570.726,525.48 548.841,530.334 526.482,529.756C 531.737,537.76 537.201,545.609 542.881,553.316 Z M 594.405,
                  526.812C 594.521,526.88 594.589,526.936 594.612,526.981C 594.634,527.025 594.621,527.06 594.572,527.085C 594.533,
                  527.105 594.44,527.132 594.295,527.165C 594.149,527.198 594.04,527.22 593.969,527.233C 594.095,527.308 594.158,
                  527.346 594.283,527.421C 595.541,527.27 596.17,527.198 597.428,527.064C 597.301,526.989 597.237,526.952 597.11,
                  526.877C 597.031,526.881 596.901,526.883 596.721,526.883C 596.539,526.883 596.399,526.877 596.3,526.865C 596.188,
                  526.85 596.077,526.823 595.964,526.784C 595.852,526.745 595.746,526.696 595.647,526.638C 594.698,526.077 594.224,
                  525.797 593.275,525.24C 593.092,525.133 592.891,525.012 592.669,524.877C 592.448,524.742 592.258,524.625 592.096,
                  524.525C 591.833,524.555 591.701,524.571 591.438,524.601C 591.458,524.641 591.473,524.687 591.482,524.741C 591.491,
                  524.795 591.479,524.85 591.444,524.906C 591.409,524.959 591.336,525.01 591.226,525.059C 591.116,525.107 590.952,
                  525.144 590.732,525.17C 590.649,525.181 590.608,525.186 590.524,525.196C 590.673,525.284 590.747,525.328 590.896,
                  525.417C 591.279,525.37 591.471,525.347 591.855,525.302C 592.875,525.904 593.385,526.206 594.405,526.812 Z M 546.323,
                  549.32C 546.208,549.304 546.102,549.271 546.006,549.219C 545.91,549.168 545.829,549.1 545.763,549.019C 545.134,
                  548.239 544.82,547.847 544.192,547.058C 544.07,546.906 543.939,546.734 543.797,546.542C 543.655,546.351 543.532,
                  546.183 543.429,546.041C 543.111,546.088 542.951,546.111 542.633,546.157C 542.623,546.215 542.603,546.282 542.572,
                  546.36C 542.539,546.438 542.482,546.518 542.4,546.599C 542.319,546.678 542.197,546.752 542.036,546.822C 541.875,
                  546.892 541.661,546.947 541.394,546.984C 541.293,546.999 541.243,547.006 541.141,547.02C 541.238,547.149 541.287,
                  547.213 541.384,547.342C 541.849,547.275 542.082,547.241 542.547,547.172C 543.218,548.039 543.553,548.469 544.223,
                  549.326C 544.299,549.422 544.332,549.503 544.323,549.567C 544.313,549.632 544.27,549.682 544.195,549.721C 544.135,
                  549.752 544.009,549.795 543.819,549.848C 543.629,549.901 543.488,549.937 543.398,549.957C 543.48,550.064 543.521,
                  550.117 543.603,550.224C 545.139,549.966 545.908,549.829 547.444,549.544C 547.359,549.441 547.317,549.39 547.232,
                  549.287C 547.139,549.299 546.991,549.311 546.785,549.322C 546.579,549.333 546.425,549.332 546.323,549.32 Z M 612.583,
                  536.727C 612.487,536.707 612.39,536.675 612.29,536.632C 612.189,536.59 612.092,536.537 611.999,536.477C 611.097,
                  535.891 610.645,535.601 609.743,535.024C 609.569,534.913 609.376,534.788 609.163,534.648C 608.952,534.509 608.769,
                  534.389 608.613,534.286C 608.401,534.303 608.295,534.312 608.084,534.33C 608.11,534.369 608.132,534.415 608.152,
                  534.467C 608.171,534.519 608.173,534.571 608.156,534.623C 608.139,534.673 608.09,534.719 608.01,534.76C 607.929,
                  534.802 607.801,534.83 607.625,534.847C 607.558,534.853 607.525,534.856 607.458,534.862C 607.601,534.953 607.672,
                  534.998 607.814,535.089C 608.122,535.06 608.275,535.047 608.582,535.02C 609.554,535.639 610.04,535.952 611.012,
                  536.582C 611.12,536.653 611.189,536.709 611.217,536.752L 611.207,536.851C 611.178,536.868 611.108,536.888 610.995,
                  536.913C 610.883,536.937 610.798,536.953 610.742,536.962C 610.861,537.04 610.92,537.079 611.039,537.156C 612.044,
                  537.075 612.547,537.038 613.551,536.976C 613.432,536.897 613.372,536.858 613.252,536.78C 613.188,536.779 613.081,
                  536.775 612.933,536.766C 612.784,536.757 612.667,536.744 612.583,536.727 Z " Height="34.346" HorizontalAlignment="Stretch" Margin="0.0579999983310699,0,0.101000003516674,8.01799964904785" VerticalAlignment="Stretch" Width="99.841" />
                <Path Stretch="Fill" Fill="#FFFFE758" Data="F1 M 557.208,525.965C 559.286,525.429 564.463,524.505 567.098,524.627C 567.634,
                  524.652 591.483,540.763 592.005,541.136C 592.527,541.509 593.396,541.943 593.107,543.102C 592.181,546.516 593.058,
                  553.239 590.846,553.879C 589.711,554.059 583.661,555.089 576.324,557.074C 575.42,557.12 574.823,557.035 574.715,
                  556.763C 575.728,556.521 576.259,556.666 576.655,555.617C 577.225,552.901 577.871,546.748 578.103,545.77C 578.335,
                  544.791 577.563,543.922 577.563,543.922C 577.563,543.922 558.109,526.882 557.674,526.592C 557.24,526.303 556.612,
                  526.448 556.612,526.448C 556.612,526.448 556.575,526.129 557.208,525.965 Z " Height="32.469" HorizontalAlignment="Stretch" Margin="33.7680015563965,2.7279999256134,29.6800003051758,7.16699981689453" VerticalAlignment="Stretch" Width="36.552" />
                <Path Stretch="Fill" Fill="#FF231F20" Data="F1 M 558.344,526.392C 558.512,526.535 558.744,526.733 559.032,526.981C 559.606,
                  527.476 560.402,528.166 561.345,528.985C 563.231,530.624 565.704,532.781 568.163,534.93C 573.081,539.226 577.944,
                  543.486 577.944,543.486L 577.995,543.537C 578.024,543.587 578.706,544.298 578.725,545.393C 578.726,545.556 578.708,
                  545.728 578.667,545.903C 578.621,546.089 578.533,546.669 578.433,547.417C 578.331,548.17 578.211,549.116 578.08,
                  550.117C 577.817,552.122 577.514,554.34 577.222,555.736L 577.197,555.821C 577.136,555.996 577.06,556.157 576.971,
                  556.301C 583.889,554.47 589.507,553.507 590.713,553.314C 590.839,553.27 590.951,553.189 591.077,553.024C 591.211,
                  552.848 591.342,552.577 591.45,552.231C 591.669,551.539 591.797,550.561 591.881,549.484C 592.055,547.327 592.056,
                  544.796 592.544,542.963C 592.573,542.843 592.584,542.744 592.584,542.663C 592.579,542.414 592.503,542.287 592.341,
                  542.112C 592.177,541.943 591.924,541.787 591.668,541.607C 591.22,541.286 570.828,527.51 567.318,525.402C 567.167,
                  525.31 567.038,525.238 566.97,525.202C 566.85,525.197 566.722,525.195 566.589,525.195C 564.301,525.191 560.463,
                  525.824 558.344,526.392 Z M 574.529,557.395C 574.395,557.309 574.253,557.17 574.177,556.977C 574.114,556.821 574.123,
                  556.644 574.2,556.496C 574.278,556.347 574.417,556.238 574.58,556.199C 575.136,556.072 575.528,556.034 575.699,
                  555.956C 575.852,555.879 575.925,555.859 576.099,555.446C 576.513,553.443 576.981,549.516 577.285,547.262C 577.389,
                  546.496 577.469,545.939 577.54,545.637C 577.558,545.556 577.566,545.475 577.566,545.393C 577.581,544.949 577.253,
                  544.458 577.154,544.334C 576.994,544.194 576.123,543.432 574.825,542.295C 573.385,541.035 571.423,539.318 569.331,
                  537.49C 565.147,533.832 560.444,529.727 558.371,527.942C 557.811,527.458 557.421,527.128 557.345,527.069C 557.274,
                  527.022 557.123,526.988 556.98,526.99C 556.865,526.99 556.764,527.007 556.743,527.012L 556.739,527.013C 556.583,
                  527.048 556.421,527.017 556.288,526.928C 556.154,526.838 556.065,526.697 556.033,526.437C 556.03,526.309 556.076,
                  526.07 556.254,525.862C 556.431,525.651 556.702,525.496 557.063,525.404L 557.063,525.404C 559.073,524.888 563.739,
                  524.041 566.589,524.037C 566.774,524.037 566.953,524.04 567.124,524.049C 567.287,524.063 567.31,524.089 567.361,
                  524.105L 567.479,524.16C 567.556,524.2 567.644,524.25 567.752,524.313C 567.966,524.438 568.253,524.615 568.609,
                  524.838C 569.319,525.285 570.298,525.92 571.46,526.681C 573.782,528.202 576.83,530.231 579.879,532.27C 585.98,
                  536.352 592.055,540.461 592.341,540.664C 592.536,540.806 592.862,540.994 593.166,541.299C 593.47,541.598 593.749,
                  542.074 593.743,542.663C 593.743,542.849 593.717,543.041 593.669,543.24L 593.665,543.253C 593.383,544.286 593.269,
                  545.74 593.183,547.233C 593.094,548.73 593.029,550.267 592.801,551.546C 592.644,552.399 592.43,553.145 592.003,
                  553.72C 591.76,554.047 591.422,554.317 591.007,554.435L 590.937,554.451C 589.82,554.628 583.783,555.656 576.475,
                  557.633L 576.352,557.653C 576.192,557.661 576.04,557.665 575.896,557.665C 575.352,557.653 574.938,557.637 574.529,
                  557.395 Z " Height="33.628" HorizontalAlignment="Stretch" Margin="33.1889991760254,2.1489999294281,29.1009998321533,6.58699989318848" VerticalAlignment="Stretch" Width="37.71" />
            </Grid>
        </DataTemplate>
    </UserControl.Resources>
    
    <Grid x:Name="LayoutRoot">
        <grid:AgDataGrid x:Name="grid" ColumnsAutoWidth="True">
            <grid:AgDataGrid.Columns>
                <grid:AgDataGridTextColumn FieldName="EmployeeID" HeaderContent="Id" Width="40" HeaderToolTip="TextColumn"/>
                <grid:AgDataGridTextColumn FieldName="FirstName" Width="85" HeaderToolTip="TextColumn"/>
                <grid:AgDataGridDateColumn FieldName="BirthDate" Width="85" HeaderToolTip="DateColumn"/>
                <grid:AgDataGridCheckColumn FieldName="OnVacation" Width="85" HeaderToolTip="CheckColumn"/>
                <grid:AgDataGridImageColumn FieldName="Photo" HeaderToolTip="ImageColumn">
                    <grid:AgDataGridImageColumn.CellDisplayTemplate>
                        <DataTemplate>
                            <Grid Margin="8,8,4,4">
                                <Grid.Resources>
                                    <grid:AgDataGridImageColumnContentConverter x:Key="ImageContentConverter"/>
                                </Grid.Resources>
                                <Border Margin="5,5,0,0" Background="Black" Opacity="0.15" CornerRadius="5" />
                                <Border Background="#FF6E6E6E" CornerRadius="4,4,4,4" Padding="4" Margin="0,0,5,5">
                                    <Border Background="White" CornerRadius="2,2,2,2" Padding="3">
                                        <Image Source="{Binding CellValue, Converter={StaticResource ImageContentConverter}}" Stretch="Uniform"/>
                                    </Border>
                                </Border>
                            </Grid>
                        </DataTemplate>
                    </grid:AgDataGridImageColumn.CellDisplayTemplate>
                </grid:AgDataGridImageColumn>
                <grid:AgDataGridColumn FieldName="Salary" Width="100"
                                       PrepareCellDisplayElement="AgDataGridColumn_PrepareCellDisplayElement_1" HeaderContent="Salary">
                    <grid:AgDataGridColumn.HeaderToolTip><local:AgToolTip Content="TemplateColumn"/></grid:AgDataGridColumn.HeaderToolTip>
                    <grid:AgDataGridColumn.CellDisplayTemplate>
                        <DataTemplate>
							<StackPanel>
								<Canvas Width="100" Height="102.364">
                                    <ContentControl x:Name="Child20" Canvas.Top="60" ContentTemplate="{StaticResource MoneyTemplate}"/>
                                    <ContentControl x:Name="Child40" Canvas.Top="45" ContentTemplate="{StaticResource MoneyTemplate}"/>
                                    <ContentControl x:Name="Child60" Canvas.Top="30" ContentTemplate="{StaticResource MoneyTemplate}"/>
                                    <ContentControl x:Name="Child80" Canvas.Top="15" ContentTemplate="{StaticResource MoneyTemplate}"/>
                                    <ContentControl x:Name="Child100" Canvas.Top="0" ContentTemplate="{StaticResource MoneyTemplate}"/>
								</Canvas>
							</StackPanel>
                        </DataTemplate>
                    </grid:AgDataGridColumn.CellDisplayTemplate>
                    <grid:AgDataGridColumn.CellEditingTemplate>
                        <DataTemplate>
                            <Slider HorizontalAlignment="Stretch" Maximum="100" Minimum="0" Value="{Binding RowValue.Salary, Mode=TwoWay}" LargeChange="10" gridcore:dxElementStyles.StyleName="SliderStyle"/>
                        </DataTemplate>
                    </grid:AgDataGridColumn.CellEditingTemplate>
                </grid:AgDataGridColumn>
            </grid:AgDataGrid.Columns>
        </grid:AgDataGrid>
    </Grid>
    
</UserControl>
